package com.example.train.member.req;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class MemberLoginReq {
    @NotBlank(message ="【手机号】不能为空")
    private String mobile;
    @NotBlank(message="【短信验证码】不能为空")
    private String code;

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("MemberLoginReq{");
        sb.append("mobile='").append(mobile).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
